

/** * @(#)Comment.java, 2018年2月4日. * * Copyright 2018 Netease, Inc. All rights reserved. * NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
 package com.zswlib.netease.webapp.po;

import org.apache.ibatis.type.Alias;

/** * * @author GZ钟绍威(zhongshaowei@corp.netease.com) 2018年2月4日 * *  */
@Alias("Comment")
 public class Comment {
    private Integer id;
    private Post post;
    private String name;
    private String comment;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public Post getPost() {
        return post;
    }
    public void setPost(Post post) {
        this.post = post;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getComment() {
        return comment;
    }
    public void setComment(String comment) {
        this.comment = comment;
    }
    @Override
    public String toString() {
        return "Comment [id=" + id  + ", name=" + name + ", comment=" + comment + "]";
    }
}

